package com.atguigu.paymentdemo.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("t_order_info")
public class OrderInfo  extends BaseEntity{

    private String title;//订单标题

    private String orderNo;//商户订单编号

    private String userId;//用户id

    private Long productId;//支付产品id

    private BigDecimal totalFee;//订单金额(分)

    private String codeUrl;//订单二维码连接

    private String orderStatus;//订单状态:0-待支付;1-支付成功


    @TableField(exist = false)
    private CourseInfo courseInfo;

}
